package org.sbear.service.rpc;

import org.apache.dubbo.config.annotation.Reference;
import org.sbear.interfaces.MyDubboInterface;
import org.springframework.stereotype.Component;

/**
 * 我的达博服务
 *
 * @author xxyWi
 * @date 2021/01/27
 */
@Component
public class MyDubboService {

    @Reference
    private MyDubboInterface myDubboInterface;

    public String methodA(String param) throws InterruptedException {
        return myDubboInterface.methodA(param);
    }

    public String methodB(String param) throws InterruptedException {
        return myDubboInterface.methodB(param);
    }

    public String methodC(String param) throws InterruptedException {
        return myDubboInterface.methodC(param);
    }
}
